

package top.continew.admin.question.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import top.continew.admin.question.manger.base.BaseModel;

@TableName(value = "sample_pool")
public class SamplePool extends BaseModel<SamplePool> {
    /**
     * 样本库
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 批次号
     */
    @TableField(value = "batch_no")
    private String batchNo;

    @TableField(value = "test_id")
    private Long testId;

    /**
     * 题目id
     */
    @TableField(value = "question_id")
    private Long questionId;

    /**
     * 0,不是样本,1,是样本
     */
    @TableField(value = "is_sample")
    private String isSample;

    /**
     * 0,抽检中,1,合格,2,不合格
     */
    @TableField(value = "`status`")
    private String status;

    @TableField(value = "ctime")
    private Long ctime;

    @TableField(value = "utime")
    private Long utime;

    @TableField(value = "create_by")
    private Long createBy;

    /**
     * 抽检人
     */
    @TableField(value = "rummager")
    private Long rummager;

    @TableField(value = "rummager_time")
    private Long rummagerTime;

    public Long getRummagerTime() {
        return rummagerTime;
    }

    public void setRummagerTime(Long rummagerTime) {
        this.rummagerTime = rummagerTime;
    }

    public Long getTestId() {
        return testId;
    }

    public void setTestId(Long testId) {
        this.testId = testId;
    }

    /**
     * 获取样本库
     *
     * @return id - 样本库
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置样本库
     *
     * @param id 样本库
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取批次号
     *
     * @return batch_no - 批次号
     */
    public String getBatchNo() {
        return batchNo;
    }

    /**
     * 设置批次号
     *
     * @param batchNo 批次号
     */
    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    /**
     * 获取题目id
     *
     * @return question_id - 题目id
     */
    public Long getQuestionId() {
        return questionId;
    }

    /**
     * 设置题目id
     *
     * @param questionId 题目id
     */
    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    /**
     * 获取0,不是样本,1,是样本
     *
     * @return is_sample - 0,不是样本,1,是样本
     */
    public String getIsSample() {
        return isSample;
    }

    /**
     * 设置0,不是样本,1,是样本
     *
     * @param isSample 0,不是样本,1,是样本
     */
    public void setIsSample(String isSample) {
        this.isSample = isSample;
    }

    /**
     * 获取0,抽检中,1,合格,2,不合格
     *
     * @return status - 0,抽检中,1,合格,2,不合格
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置0,抽检中,1,合格,2,不合格
     *
     * @param status 0,抽检中,1,合格,2,不合格
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * @return create_by
     */
    public Long getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    /**
     * 获取抽检人
     *
     * @return rummager - 抽检人
     */
    public Long getRummager() {
        return rummager;
    }

    /**
     * 设置抽检人
     *
     * @param rummager 抽检人
     */
    public void setRummager(Long rummager) {
        this.rummager = rummager;
    }
}
